package com.nervenets.web.controller.handler.admin.movie;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MovieCheckParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "影片的ID")
    private long movieId;
    @NeedValidation(type = Type.NOTEMPTY, description = "是否成功")
    private boolean success;
    @NeedValidation(type = Type.EMPTY, description = "失败时的原因")
    private String failedReason;

}
